package mock.service.impl
{
	import asphalt2.factory.init;
	
	import mock.service.AllService;
	import mock.service.BarService;
	import mock.service.FooService;
	import mock.service.HogeService;
	import mock.service.NullService;
	
	public class AllServiceImpl implements AllService
	{	
		private var _barService:BarService;
		private var _fooService:FooService;
		private var _hogeService:HogeService;
		
		init function initBean(barService:BarService,
									fooService:FooService,
									hogeService:HogeService,
									nullService:NullService=null):void{
			_barService = barService;
			_fooService = fooService;
			_hogeService =hogeService;
		}
		
		public function initialized():Boolean{
			return _barService != null && _fooService != null && _hogeService != null;
		}

	}
}